//
//  BorederView.m
//  AirQuality
//
//  Created by Mac on 16/1/7.
//  Copyright © 2016年 Po. All rights reserved.
//

#import "BorederView.h"

@implementation BorederView

- (void)drawRect:(CGRect)rect
{
    CGContextRef context = UIGraphicsGetCurrentContext();

    CGContextSetLineWidth(context, 2.0);
    CGContextSetStrokeColorWithColor(context, [UIColor blueColor].CGColor);
    
    CGContextAddRect(context, CGRectMake(2.0, 2.0, 80, 80));
    CGContextClearRect(context, CGRectMake(1.0, 1.0, 2, 2));
    CGContextStrokePath(context);
}

@end
